//
//  HTActivityIndicator.swift
//  MagaCore
//
//  Created by MrMessy on 2023/6/26.
//

import SwiftUI

struct HTActivityIndicator: UIViewRepresentable {
    let var_style: UIActivityIndicatorView.Style

    func makeUIView(context: Context) -> UIActivityIndicatorView  {
        return UIActivityIndicatorView(style: var_style)
    }

    func updateUIView(_ uiView: UIActivityIndicatorView, context: Context) {
        uiView.startAnimating()
    }
}
